@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>预约报表</h5>
            </div>
            <div style="display: none">
                <input type="hidden" id="id" value="">
                <input type="hidden" id="userName" value="${userName}">
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="form-groups addTwo">
                                    <div class="control-label col-sm-2 btn btn_width1">按</div>
                                    <div class="col-sm-5">
                                        <select class="form-control" id="accordingTime" name="accordingTime">
                                            <option value="年">年</option>
                                            <option value="月">月</option>
                                            <option value="日">日</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3 fatherBtn1">
                                <#TimeCon readonly="true" id="starTime" name="时间" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-3 fatherBtn1">
                                <#TimeCon readonly="true" id="endTime" name="-" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-3">
                                <div class="form-groups addTwo">
                                    <div class="control-label col-sm-2 btn btn_width1">分类</div>
                                    <div class="col-sm-8">
                                        <select class="form-control" id="statusClass" name="statusClass">
                                            <option value="总计报表">总计报表</option>
                                            <option value="渠道">渠道</option>
                                            <option value="媒介">媒介</option>
                                            <option value="预约项目">预约项目</option>
                                            <option value="预约门诊">预约门诊</option>
                                            <option value="性别">性别</option>
                                            <option value="年龄">年龄</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="search_bt" onclick="search()">搜索</div>
                                <div class="search_bt" onclick="resetSearch()">清空</div>
                            </div>
                        </div>
                        <div class="table-responsive">
                            <table id="report_table" class="table table-hover">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/marketing/report/report.js"></script>
<style>
    .search_bt, .other_bt {
        cursor: pointer;
        display: inline-block;
        width: 73px;
        height: 27px;
        line-height: 27px;
        color: white;
        text-align: center;
        font-size: 14px;
        border-radius: 20px;
    }

    .search_bt {
        background: url("${ctxPath}/static/img/x18.png") no-repeat;
        background-size: cover;
    }

    .other_bt {
        background: url("${ctxPath}/static/img/x19.png") no-repeat;
        background-size: cover;
    }

    td a {
        display: block;
        width: 150%;
        position: relative;
        left: -25%;
    }
</style>
@}
